package com.yinhai.message.manage.sysapp.dao;

import com.yinhai.core.common.api.base.IPage;
import com.yinhai.message.core.po.MessageAppManagePo;
import com.yinhai.message.manage.sysapp.vo.SysAppVo;

import java.util.List;
import java.util.Map;

public interface ISysAppDao {
    MessageAppManagePo saveSysApp(MessageAppManagePo po);

    MessageAppManagePo updateSysApp(MessageAppManagePo po);

    MessageAppManagePo deleteSysApp(MessageAppManagePo po);

    IPage<SysAppVo> queryList(String hql, Map<String, Object> param, int start, int limit, String gridId);

    List<SysAppVo> queryList(String hql);

    SysAppVo queryOneById(String hsql, String id);

    Long queryCountBySysId(String s, String systemId, String id);

    SysAppVo queryVoBySystemId(String s, String systemId);
}
